d0090852e570763640aa6c91bbbbac6165a19c74,core/src/test/java/org/musetest/core/tests/ProjectClasspathTests.java,ProjectClasspathTests,testStepLoadedFromProjectJar,#,35

Before Change


        project.open();

        // was the project able to load resources using classes from the project classpath?
        MuseTest test = project.findResource("TestUsesCustomJavaStepFromJar", MuseTest.class);
        Assert.assertNotNull(test);

        // Running test directly may pass or fail, depending on when the FactoryLocator scanned the classpath.

After Change


        project.open();

        // was the project able to load resources using classes from the project classpath?
        MuseTest test = project.getResource(project.findResource("TestUsesCustomJavaStepFromJar", MuseTest.class));
        Assert.assertNotNull(test);

        // Running test directly may pass or fail, depending on when the FactoryLocator scanned the classpath.